package com.songyuesheng.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songyuesheng.app.entity.Notice;
import com.songyuesheng.app.commom.Result;
import org.springframework.stereotype.Service;

@Service
public interface NoticeService extends IService<Notice> {
    Result<?> addNotice(Notice notice);

    Result<?> updateNotice(Notice notice);

    Result<?> deleteNotice(Integer id);

    Result<?> selectAllNotice();

    Result<?> selectNoticeByPage(Integer pageNum, Integer pageSize, String title);

}
